package com.jhgk.jhcee.common.exception;

import com.jhgk.jhcee.common.enums.BasisResultEnum;
import com.jhgk.jhcee.common.enums.IErrorCode;

/**
 * @author: xiezhongping
 * @description:
 * @date: 2021/8/25 10:08.
 */
public class Asserts {
    public static void fail(String message) {
        throw new ApiException(message);
    }

    public static void fail(BasisResultEnum basisResultEnum) {
        throw new ApiException(basisResultEnum);
    }
}
